package cn.me.sso.client.service;

import java.util.Map;
/**
 * 认证授权相关service
 */
public interface AuthService {
    /**
     * Gets access token.
     *
     * @param code the code
     * @return the access token
     */
    public Map<String,Object> getAccessToken(String code);
    /**
     * Gets user info.
     *
     * @param accessToken the access token
     * @return the user info
     */
    public Map<String,Object> getUserInfo(String accessToken);
}
